// Lean compiler output
// Module: Lake.Config.InputFileConfig
// Imports: public import Lake.Config.Pattern public import Lake.Config.MetaClasses public import Init.Data.ToString.Name meta import all Lake.Config.Meta
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lake_InputFileConfig___fields___closed__4;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigInfo___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__3___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig___fields;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instConfigInfo;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigFields(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__2(lean_object*, lean_object*);
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__9;
lean_object* l_Lake_Pattern_star(lean_object*, lean_object*);
static size_t l_Lake_InputFileConfig_instConfigInfo___closed__13;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instEmptyCollection(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter_instConfigField(lean_object*);
LEAN_EXPORT uint8_t l_Lake_InputDirConfig_text___proj___lam__0(lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__0(lean_object*);
LEAN_EXPORT uint8_t l_Lake_InputFileConfig_text___proj___lam__3(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__3___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_InputDirConfig_instConfigInfo___closed__3;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__0(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig___fields;
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__0___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigInfo;
static lean_object* l_Lake_InputDirConfig___fields___closed__1;
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigFields___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__3___boxed(lean_object*);
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__8;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___boxed(lean_object*);
static lean_object* l_Lake_InputDirConfig___fields___closed__2;
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__1;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__0(lean_object*);
lean_object* l_Array_empty(lean_object*);
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__3;
lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_InputDirConfig_instConfigInfo___closed__5;
static lean_object* l_Lake_InputFileConfig___fields___closed__2;
static lean_object* l_Lake_InputFileConfig___fields___closed__3;
static uint8_t l_Lake_InputDirConfig_instConfigInfo___closed__1;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path_instConfigField(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instEmptyCollection(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text_instConfigField(lean_object*);
static uint8_t l_Lake_InputFileConfig_instConfigInfo___closed__12;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__1___boxed(lean_object*, lean_object*);
lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_InputDirConfig___fields___closed__3;
LEAN_EXPORT uint8_t l_Lake_InputDirConfig_text___proj___lam__3(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__3(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instConfigFields(lean_object*);
lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_InputFileConfig___fields___closed__5;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text_instConfigField___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__1(uint8_t, lean_object*);
LEAN_EXPORT uint8_t l_Lake_InputFileConfig_text___proj___lam__0(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__3___boxed(lean_object*);
static lean_object* l_Lake_InputFileConfig___fields___closed__8;
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__7;
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__5;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__0___boxed(lean_object*);
static lean_object* l_Lake_InputFileConfig___fields___closed__0;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___boxed(lean_object*);
lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__2(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
static size_t l_Lake_InputDirConfig_instConfigInfo___closed__4;
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__4;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__0___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__0___boxed(lean_object*);
static uint8_t l_Lake_InputFileConfig_instConfigInfo___closed__11;
lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lake_InputDirConfig___fields___closed__0;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__0___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path_instConfigField(lean_object*);
static lean_object* l_Lake_InputFileConfig___fields___closed__6;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__1(uint8_t, lean_object*);
lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__10;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text_instConfigField___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter_instConfigField___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__3___boxed(lean_object*);
static uint8_t l_Lake_InputDirConfig_instConfigInfo___closed__2;
lean_object* l_Lean_Name_mkStr1(lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__2(lean_object*, lean_object*);
static lean_object* l_Lake_InputDirConfig_filter___proj___lam__3___closed__0;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___boxed(lean_object*);
lean_object* lean_array_get_size(lean_object*);
static lean_object* l_Lake_InputDirConfig_instConfigInfo___closed__0;
lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj(lean_object*);
static lean_object* l_Lake_InputFileConfig___fields___closed__1;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instConfigFields___boxed(lean_object*);
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__0;
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text_instConfigField(lean_object*);
lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__6;
static lean_object* l_Lake_InputFileConfig_instConfigInfo___closed__2;
static lean_object* l_Lake_InputFileConfig___fields___closed__7;
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__1(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_2, 0);
lean_dec(x_4);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
else
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
lean_dec(x_2);
x_6 = lean_alloc_ctor(0, 1, 1);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set_uint8(x_6, sizeof(void*)*1, x_5);
return x_6;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_apply_1(x_1, x_4);
lean_ctor_set(x_2, 0, x_5);
return x_2;
}
else
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; 
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
lean_inc(x_6);
lean_dec(x_2);
x_8 = lean_apply_1(x_1, x_6);
x_9 = lean_alloc_ctor(0, 1, 1);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_7);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__3(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = 0;
x_4 = l_Lean_Name_toString(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig_path___proj___lam__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj___lam__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_InputFileConfig_path___proj___lam__3(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path___proj(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_path___proj___lam__0___boxed), 1, 0);
x_3 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_path___proj___lam__1), 2, 0);
x_4 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_path___proj___lam__2), 2, 0);
x_5 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_path___proj___lam__3___boxed), 2, 1);
lean_closure_set(x_5, 0, x_1);
x_6 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_3);
lean_ctor_set(x_6, 2, x_4);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_path_instConfigField(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig_path___proj(x_1);
return x_2;
}
}
LEAN_EXPORT uint8_t l_Lake_InputFileConfig_text___proj___lam__0(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__1(uint8_t x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_ctor_set_uint8(x_2, sizeof(void*)*1, x_1);
return x_2;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_alloc_ctor(0, 1, 1);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set_uint8(x_5, sizeof(void*)*1, x_1);
return x_5;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
uint8_t x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
x_5 = lean_box(x_4);
x_6 = lean_apply_1(x_1, x_5);
x_7 = lean_unbox(x_6);
lean_ctor_set_uint8(x_2, sizeof(void*)*1, x_7);
return x_2;
}
else
{
lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_8 = lean_ctor_get(x_2, 0);
x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
lean_inc(x_8);
lean_dec(x_2);
x_10 = lean_box(x_9);
x_11 = lean_apply_1(x_1, x_10);
x_12 = lean_alloc_ctor(0, 1, 1);
lean_ctor_set(x_12, 0, x_8);
x_13 = lean_unbox(x_11);
lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_13);
return x_12;
}
}
}
LEAN_EXPORT uint8_t l_Lake_InputFileConfig_text___proj___lam__3(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = 0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__0___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lake_InputFileConfig_text___proj___lam__0(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_1);
x_4 = l_Lake_InputFileConfig_text___proj___lam__1(x_3, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___lam__3___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lake_InputFileConfig_text___proj___lam__3(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_text___proj___lam__0___boxed), 1, 0);
x_3 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_text___proj___lam__1___boxed), 2, 0);
x_4 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_text___proj___lam__2), 2, 0);
x_5 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_text___proj___lam__3___boxed), 1, 0);
x_6 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_3);
lean_ctor_set(x_6, 2, x_4);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text___proj___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig_text___proj(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text_instConfigField(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig_text___proj(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_text_instConfigField___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig_text_instConfigField(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Array_empty(lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("path", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_InputFileConfig___fields___closed__1;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__3() {
_start:
{
uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = 0;
x_2 = 1;
x_3 = l_Lake_InputFileConfig___fields___closed__2;
x_4 = lean_alloc_ctor(0, 2, 2);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_3);
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_2);
lean_ctor_set_uint8(x_4, sizeof(void*)*2 + 1, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_InputFileConfig___fields___closed__3;
x_2 = l_Lake_InputFileConfig___fields___closed__0;
x_3 = lean_array_push(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("text", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_InputFileConfig___fields___closed__5;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__7() {
_start:
{
uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = 0;
x_2 = 1;
x_3 = l_Lake_InputFileConfig___fields___closed__6;
x_4 = lean_alloc_ctor(0, 2, 2);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_3);
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_2);
lean_ctor_set_uint8(x_4, sizeof(void*)*2 + 1, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_InputFileConfig___fields___closed__7;
x_2 = l_Lake_InputFileConfig___fields___closed__4;
x_3 = lean_array_push(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_InputFileConfig___fields() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_InputFileConfig___fields___closed__8;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigFields(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig___fields;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigFields___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputFileConfig_instConfigFields(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instConfigInfo___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_InputFileConfig___fields;
x_2 = lean_array_get_size(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_InputFileConfig_instConfigInfo___closed__2;
x_2 = l_Lake_InputFileConfig_instConfigInfo___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l_Lake_InputFileConfig_instConfigInfo___closed__6;
x_2 = l_Lake_InputFileConfig_instConfigInfo___closed__5;
x_3 = l_Lake_InputFileConfig_instConfigInfo___closed__4;
x_4 = l_Lake_InputFileConfig_instConfigInfo___closed__3;
x_5 = l_Lake_InputFileConfig_instConfigInfo___closed__8;
x_6 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_3);
lean_ctor_set(x_6, 3, x_2);
lean_ctor_set(x_6, 4, x_1);
return x_6;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_InputFileConfig_instConfigInfo___closed__7;
x_2 = l_Lake_InputFileConfig_instConfigInfo___closed__9;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static uint8_t _init_l_Lake_InputFileConfig_instConfigInfo___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; 
x_1 = l_Lake_InputFileConfig_instConfigInfo___closed__0;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_nat_dec_lt(x_2, x_1);
return x_3;
}
}
static uint8_t _init_l_Lake_InputFileConfig_instConfigInfo___closed__12() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = l_Lake_InputFileConfig_instConfigInfo___closed__0;
x_2 = lean_nat_dec_le(x_1, x_1);
return x_2;
}
}
static size_t _init_l_Lake_InputFileConfig_instConfigInfo___closed__13() {
_start:
{
lean_object* x_1; size_t x_2; 
x_1 = l_Lake_InputFileConfig_instConfigInfo___closed__0;
x_2 = lean_usize_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputFileConfig_instConfigInfo() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_1 = l_Lake_InputFileConfig___fields;
x_6 = lean_box(1);
x_7 = l_Lake_InputFileConfig_instConfigInfo___closed__10;
x_8 = l_Lake_InputFileConfig_instConfigInfo___closed__11;
if (x_8 == 0)
{
x_2 = x_6;
goto block_5;
}
else
{
uint8_t x_9; 
x_9 = l_Lake_InputFileConfig_instConfigInfo___closed__12;
if (x_9 == 0)
{
x_2 = x_6;
goto block_5;
}
else
{
lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_10 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_instConfigInfo___lam__0), 2, 0);
x_11 = 0;
x_12 = l_Lake_InputFileConfig_instConfigInfo___closed__13;
x_13 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_7, x_10, x_1, x_11, x_12, x_6);
x_2 = x_13;
goto block_5;
}
}
block_5:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_unsigned_to_nat(1u);
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputFileConfig_instEmptyCollection(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_2 = 0;
x_3 = l_Lean_Name_toString(x_1, x_2);
x_4 = lean_alloc_ctor(0, 1, 1);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__1(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_2, 0);
lean_dec(x_4);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
else
{
uint8_t x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
x_6 = lean_ctor_get(x_2, 1);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*2, x_5);
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_apply_1(x_1, x_4);
lean_ctor_set(x_2, 0, x_5);
return x_2;
}
else
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
x_8 = lean_ctor_get(x_2, 1);
lean_inc(x_8);
lean_inc(x_6);
lean_dec(x_2);
x_9 = lean_apply_1(x_1, x_6);
x_10 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
lean_ctor_set_uint8(x_10, sizeof(void*)*2, x_7);
return x_10;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__3(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = 0;
x_4 = l_Lean_Name_toString(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_path___proj___lam__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj___lam__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_InputDirConfig_path___proj___lam__3(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path___proj(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_path___proj___lam__0___boxed), 1, 0);
x_3 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_path___proj___lam__1), 2, 0);
x_4 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_path___proj___lam__2), 2, 0);
x_5 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_path___proj___lam__3___boxed), 2, 1);
lean_closure_set(x_5, 0, x_1);
x_6 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_3);
lean_ctor_set(x_6, 2, x_4);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_path_instConfigField(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_path___proj(x_1);
return x_2;
}
}
LEAN_EXPORT uint8_t l_Lake_InputDirConfig_text___proj___lam__0(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__1(uint8_t x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_ctor_set_uint8(x_2, sizeof(void*)*2, x_1);
return x_2;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
lean_inc(x_4);
lean_dec(x_2);
x_6 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_1);
return x_6;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
uint8_t x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
x_5 = lean_box(x_4);
x_6 = lean_apply_1(x_1, x_5);
x_7 = lean_unbox(x_6);
lean_ctor_set_uint8(x_2, sizeof(void*)*2, x_7);
return x_2;
}
else
{
lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_8 = lean_ctor_get(x_2, 0);
x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
x_10 = lean_ctor_get(x_2, 1);
lean_inc(x_10);
lean_inc(x_8);
lean_dec(x_2);
x_11 = lean_box(x_9);
x_12 = lean_apply_1(x_1, x_11);
x_13 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_13, 0, x_8);
lean_ctor_set(x_13, 1, x_10);
x_14 = lean_unbox(x_12);
lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_14);
return x_13;
}
}
}
LEAN_EXPORT uint8_t l_Lake_InputDirConfig_text___proj___lam__3(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = 0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__0___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lake_InputDirConfig_text___proj___lam__0(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_1);
x_4 = l_Lake_InputDirConfig_text___proj___lam__1(x_3, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___lam__3___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lake_InputDirConfig_text___proj___lam__3(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_text___proj___lam__0___boxed), 1, 0);
x_3 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_text___proj___lam__1___boxed), 2, 0);
x_4 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_text___proj___lam__2), 2, 0);
x_5 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_text___proj___lam__3___boxed), 1, 0);
x_6 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_3);
lean_ctor_set(x_6, 2, x_4);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text___proj___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_text___proj(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text_instConfigField(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_text___proj(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_text_instConfigField___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_text_instConfigField(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_2);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__1(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_2, 1);
lean_dec(x_4);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
else
{
lean_object* x_5; uint8_t x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_2, 0);
x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
lean_inc(x_5);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*2, x_6);
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_apply_1(x_1, x_4);
lean_ctor_set(x_2, 1, x_5);
return x_2;
}
else
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
x_8 = lean_ctor_get(x_2, 1);
lean_inc(x_8);
lean_inc(x_6);
lean_dec(x_2);
x_9 = lean_apply_1(x_1, x_8);
x_10 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_10, 0, x_6);
lean_ctor_set(x_10, 1, x_9);
lean_ctor_set_uint8(x_10, sizeof(void*)*2, x_7);
return x_10;
}
}
}
static lean_object* _init_l_Lake_InputDirConfig_filter___proj___lam__3___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_Pattern_star(lean_box(0), lean_box(0));
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__3(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_filter___proj___lam__3___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_filter___proj___lam__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___lam__3___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_filter___proj___lam__3(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_filter___proj___lam__0___boxed), 1, 0);
x_3 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_filter___proj___lam__1), 2, 0);
x_4 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_filter___proj___lam__2), 2, 0);
x_5 = lean_alloc_closure((void*)(l_Lake_InputDirConfig_filter___proj___lam__3___boxed), 1, 0);
x_6 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_3);
lean_ctor_set(x_6, 2, x_4);
lean_ctor_set(x_6, 3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter___proj___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_filter___proj(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter_instConfigField(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_filter___proj(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_filter_instConfigField___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_filter_instConfigField(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputDirConfig___fields___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("filter", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_InputDirConfig___fields___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_InputDirConfig___fields___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputDirConfig___fields___closed__2() {
_start:
{
uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = 0;
x_2 = 1;
x_3 = l_Lake_InputDirConfig___fields___closed__1;
x_4 = lean_alloc_ctor(0, 2, 2);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_3);
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_2);
lean_ctor_set_uint8(x_4, sizeof(void*)*2 + 1, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_InputDirConfig___fields___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_InputDirConfig___fields___closed__2;
x_2 = l_Lake_InputFileConfig___fields___closed__8;
x_3 = lean_array_push(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_InputDirConfig___fields() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_InputDirConfig___fields___closed__3;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instConfigFields(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig___fields;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instConfigFields___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_InputDirConfig_instConfigFields(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputDirConfig_instConfigInfo___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_InputDirConfig___fields;
x_2 = lean_array_get_size(x_1);
return x_2;
}
}
static uint8_t _init_l_Lake_InputDirConfig_instConfigInfo___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; 
x_1 = l_Lake_InputDirConfig_instConfigInfo___closed__0;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_nat_dec_lt(x_2, x_1);
return x_3;
}
}
static uint8_t _init_l_Lake_InputDirConfig_instConfigInfo___closed__2() {
_start:
{
lean_object* x_1; uint8_t x_2; 
x_1 = l_Lake_InputDirConfig_instConfigInfo___closed__0;
x_2 = lean_nat_dec_le(x_1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputDirConfig_instConfigInfo___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_InputFileConfig_instConfigInfo___lam__0), 2, 0);
return x_1;
}
}
static size_t _init_l_Lake_InputDirConfig_instConfigInfo___closed__4() {
_start:
{
lean_object* x_1; size_t x_2; 
x_1 = l_Lake_InputDirConfig_instConfigInfo___closed__0;
x_2 = lean_usize_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_InputDirConfig_instConfigInfo___closed__5() {
_start:
{
lean_object* x_1; size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_1 = lean_box(1);
x_2 = l_Lake_InputDirConfig_instConfigInfo___closed__4;
x_3 = 0;
x_4 = l_Lake_InputDirConfig___fields;
x_5 = l_Lake_InputDirConfig_instConfigInfo___closed__3;
x_6 = l_Lake_InputFileConfig_instConfigInfo___closed__10;
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_6, x_5, x_4, x_3, x_2, x_1);
return x_7;
}
}
static lean_object* _init_l_Lake_InputDirConfig_instConfigInfo() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_6; uint8_t x_7; 
x_1 = l_Lake_InputDirConfig___fields;
x_6 = lean_box(1);
x_7 = l_Lake_InputDirConfig_instConfigInfo___closed__1;
if (x_7 == 0)
{
x_2 = x_6;
goto block_5;
}
else
{
uint8_t x_8; 
x_8 = l_Lake_InputDirConfig_instConfigInfo___closed__2;
if (x_8 == 0)
{
x_2 = x_6;
goto block_5;
}
else
{
lean_object* x_9; 
x_9 = l_Lake_InputDirConfig_instConfigInfo___closed__5;
x_2 = x_9;
goto block_5;
}
}
block_5:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_unsigned_to_nat(1u);
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Lake_InputDirConfig_instEmptyCollection(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = 0;
x_3 = l_Lean_Name_toString(x_1, x_2);
x_4 = l_Lake_InputDirConfig_filter___proj___lam__3___closed__0;
x_5 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
lean_ctor_set_uint8(x_5, sizeof(void*)*2, x_2);
return x_5;
}
}
lean_object* initialize_Lake_Config_Pattern(uint8_t builtin);
lean_object* initialize_Lake_Config_MetaClasses(uint8_t builtin);
lean_object* initialize_Init_Data_ToString_Name(uint8_t builtin);
lean_object* initialize_Lake_Config_Meta(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lake_Config_InputFileConfig(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lake_Config_Pattern(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_MetaClasses(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_ToString_Name(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_Meta(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lake_InputFileConfig___fields___closed__0 = _init_l_Lake_InputFileConfig___fields___closed__0();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__0);
l_Lake_InputFileConfig___fields___closed__1 = _init_l_Lake_InputFileConfig___fields___closed__1();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__1);
l_Lake_InputFileConfig___fields___closed__2 = _init_l_Lake_InputFileConfig___fields___closed__2();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__2);
l_Lake_InputFileConfig___fields___closed__3 = _init_l_Lake_InputFileConfig___fields___closed__3();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__3);
l_Lake_InputFileConfig___fields___closed__4 = _init_l_Lake_InputFileConfig___fields___closed__4();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__4);
l_Lake_InputFileConfig___fields___closed__5 = _init_l_Lake_InputFileConfig___fields___closed__5();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__5);
l_Lake_InputFileConfig___fields___closed__6 = _init_l_Lake_InputFileConfig___fields___closed__6();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__6);
l_Lake_InputFileConfig___fields___closed__7 = _init_l_Lake_InputFileConfig___fields___closed__7();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__7);
l_Lake_InputFileConfig___fields___closed__8 = _init_l_Lake_InputFileConfig___fields___closed__8();
lean_mark_persistent(l_Lake_InputFileConfig___fields___closed__8);
l_Lake_InputFileConfig___fields = _init_l_Lake_InputFileConfig___fields();
lean_mark_persistent(l_Lake_InputFileConfig___fields);
l_Lake_InputFileConfig_instConfigInfo___closed__0 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__0();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__0);
l_Lake_InputFileConfig_instConfigInfo___closed__1 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__1();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__1);
l_Lake_InputFileConfig_instConfigInfo___closed__2 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__2();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__2);
l_Lake_InputFileConfig_instConfigInfo___closed__3 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__3();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__3);
l_Lake_InputFileConfig_instConfigInfo___closed__4 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__4();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__4);
l_Lake_InputFileConfig_instConfigInfo___closed__5 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__5();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__5);
l_Lake_InputFileConfig_instConfigInfo___closed__6 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__6();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__6);
l_Lake_InputFileConfig_instConfigInfo___closed__7 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__7();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__7);
l_Lake_InputFileConfig_instConfigInfo___closed__8 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__8();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__8);
l_Lake_InputFileConfig_instConfigInfo___closed__9 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__9();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__9);
l_Lake_InputFileConfig_instConfigInfo___closed__10 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__10();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo___closed__10);
l_Lake_InputFileConfig_instConfigInfo___closed__11 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__11();
l_Lake_InputFileConfig_instConfigInfo___closed__12 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__12();
l_Lake_InputFileConfig_instConfigInfo___closed__13 = _init_l_Lake_InputFileConfig_instConfigInfo___closed__13();
l_Lake_InputFileConfig_instConfigInfo = _init_l_Lake_InputFileConfig_instConfigInfo();
lean_mark_persistent(l_Lake_InputFileConfig_instConfigInfo);
l_Lake_InputDirConfig_filter___proj___lam__3___closed__0 = _init_l_Lake_InputDirConfig_filter___proj___lam__3___closed__0();
lean_mark_persistent(l_Lake_InputDirConfig_filter___proj___lam__3___closed__0);
l_Lake_InputDirConfig___fields___closed__0 = _init_l_Lake_InputDirConfig___fields___closed__0();
lean_mark_persistent(l_Lake_InputDirConfig___fields___closed__0);
l_Lake_InputDirConfig___fields___closed__1 = _init_l_Lake_InputDirConfig___fields___closed__1();
lean_mark_persistent(l_Lake_InputDirConfig___fields___closed__1);
l_Lake_InputDirConfig___fields___closed__2 = _init_l_Lake_InputDirConfig___fields___closed__2();
lean_mark_persistent(l_Lake_InputDirConfig___fields___closed__2);
l_Lake_InputDirConfig___fields___closed__3 = _init_l_Lake_InputDirConfig___fields___closed__3();
lean_mark_persistent(l_Lake_InputDirConfig___fields___closed__3);
l_Lake_InputDirConfig___fields = _init_l_Lake_InputDirConfig___fields();
lean_mark_persistent(l_Lake_InputDirConfig___fields);
l_Lake_InputDirConfig_instConfigInfo___closed__0 = _init_l_Lake_InputDirConfig_instConfigInfo___closed__0();
lean_mark_persistent(l_Lake_InputDirConfig_instConfigInfo___closed__0);
l_Lake_InputDirConfig_instConfigInfo___closed__1 = _init_l_Lake_InputDirConfig_instConfigInfo___closed__1();
l_Lake_InputDirConfig_instConfigInfo___closed__2 = _init_l_Lake_InputDirConfig_instConfigInfo___closed__2();
l_Lake_InputDirConfig_instConfigInfo___closed__3 = _init_l_Lake_InputDirConfig_instConfigInfo___closed__3();
lean_mark_persistent(l_Lake_InputDirConfig_instConfigInfo___closed__3);
l_Lake_InputDirConfig_instConfigInfo___closed__4 = _init_l_Lake_InputDirConfig_instConfigInfo___closed__4();
l_Lake_InputDirConfig_instConfigInfo___closed__5 = _init_l_Lake_InputDirConfig_instConfigInfo___closed__5();
lean_mark_persistent(l_Lake_InputDirConfig_instConfigInfo___closed__5);
l_Lake_InputDirConfig_instConfigInfo = _init_l_Lake_InputDirConfig_instConfigInfo();
lean_mark_persistent(l_Lake_InputDirConfig_instConfigInfo);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
